<fieldset><label class="small">Field</label><br><input ng-model="dashboard.current.services.query.list[id].field" type="text" bs-typeahead="fields.list" placeholder="Field"><p><label class="small">Count</label><br><input ng-model="dashboard.current.services.query.list[id].size" type="number"></p><p><label class="small">Union</label><br><select class="input-small" ng-model="dashboard.current.services.query.list[id].union"><option ng-repeat="mode in ['none','AND','OR']">{{mode}}</option></select></p></fieldset>